package com.it.dao;

import com.it.Bean.Guestbook;

import java.sql.SQLException;
import java.util.List;

public interface GuestbookDao {
    /**
     * 查询所有留言信息
     * @return
     * @throws SQLException
     */
    public List<Object> getQueryAll()throws SQLException;
    /**
     * 添加
     * @return
     * @throws SQLException
     */
    public Integer insert(Guestbook gb)throws SQLException;
    /**
     * 删除
     * @return
     * @throws SQLException
     */
    public Integer delete(int id)throws SQLException;
}